<template>
	<view class="p-10">
		<view class="card">
			<u-cell-group>
				<u-cell title="姓名" :value="userInfo.userName" center></u-cell>
				<u-cell title="电话" :value="userInfo.phone" center></u-cell>
				<u-cell title="邮箱" :value="userInfo.email" center></u-cell>
				<u-cell title="部门" :value="userInfo.posts" center></u-cell>
				<u-cell title="角色" :value="userInfo.email" center></u-cell>
			</u-cell-group>
		</view>
	</view>
</template>
<script setup>
	import {
		removeAuthorization,
		getAuthorization
	} from '@/router/auth.js'
	import {
		ref
	} from 'vue'
	// 基础变量
	const userInfo = getAuthorization('userInfo')
</script>
<style>
</style>